.product {
    float: left;
    height: 200px;
    width: 180px;
    border: 1px solid;
    margin: 4px;
}


.product .photo {
    width: 100%;
    margin: 0 auto;
}

.product .photo img {
    width: 100%;
    margin: 0 auto;
}

.product .title {
    font-size: 14px;
}

.product .categories {
    font-size: 11px;
}

.product a {
    border: 0;
    text-decoration: none;
    color: inherit;
}

/*#add-to-cart {
    width: 100px;
    height: 30px;
    color: #fff;
    background-color: #000;
    text-align: center;
    cursor: pointer;
}          */

#add-to-cart-errors h1 {
    font-size: 16px;
}

#add-to-cart-errors ul li {
    font-size: 14px;
}

.sold-out {
    width: 192px;
    position: absolute;
    bottom: 87px;
    font-weight: bold;
    text-align: center;
    background: #000;
    color: #fff;
    padding: 5px 0;
    border:  none;
}

.sold-out-detail {
    width: 337px;
    position: absolute;
    bottom: 0;
    font-weight: bold;
    text-align: center;
    background: #000;
    color: #fff;
    padding: 5px 0;
    border:  none;
}

.product-detail-link:hover {
    text-decoration: none;
}

.ribbon-wrapper {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: 25px;
  right: 15px;
}

.ribbon-wrapper-detail {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: 22px;
  right: 36px;
}

.ribbon {
  font: bold 15px Sans-Serif;
  color: #333;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 15px;
  width: 120px;
  background-color: #BFDC7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45));
  background-image: -webkit-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:    -moz-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:     -ms-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:      -o-linear-gradient(top, #BFDC7A, #8EBF45);
  color: #6a6340;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon:before, .ribbon:after {
  content: "";
  border-top:   3px solid #6e8900;
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}

.ribbon:before {
  left: 0;
}
.ribbon:after {
  right: 0;
}​